import axios from "../config.js";

/**
 * 密码更改
 */

export const update = data => {
  return axios({
    url: "/user/update",
    method: "put",
    data
  });
};
